package com.ship.mapper;

import com.ship.entity.bo.Users;
import com.ship.util.TkMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper  extends TkMapper<Users>{

    public Users findByUsername(@Param(value = "username") String username);

    public List<String> findRoleByUserId(@Param(value = "userId") String userId);

}
